package com.lhm.service;


import com.lhm.entity.MyUser;


import java.util.List;
import java.util.Map;

public interface UserService {



   MyUser findByAccount(String account);

   //添加
    void add(MyUser u);
  //查找
    List<Map<String, Object>> findAll(Integer start, Integer num);
 //更新
    int update(Map<String, Object> map);
 //分页
    int getCount();
 //根据id查找
    MyUser findById(int id);

}
